<?php
namespace app\admin\controller;
use think\Controller;
class Index extends Controller
{
    public function index()
    {
        return $this->fetch();
    }

    public function welcome()
    {
        // \phpmailer\Email::send('846166458@qq.com','testEmail','testEmail');
        // return '发送邮件成功';
        return "欢迎来到o2o后台首页";
    }

    public function test()
    {
        return \Map::getLngLat('北京昌平沙河地铁');
        // return 'singwa';
    }

    public function map()
    {
        return \Map::staticimage('上海虹桥地铁');
    }


}
